home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
COMM
/
OTTO11.ARJ
/
GETMAP
< prev
next >
Wrap
Text File
|
1992-02-11
|
1KB
|
52 lines
;This script retrieves several weather maps and downloads them to your
;computer. You'll need a .GIF viewer to view these files. You will find
;several in the GRAPHSUPPORT forum.
;Feel free to change which maps are to be downloaded.
;This script runs with Autosig which supports the CIS/B protocol. You
;will need to make changes if you're using another download protocol.
w c "!"
"go maps|"
w (-2,+0) "3 Ins"
"1|"
w c "more !"
"|"
w (-2,-1) "14 About"
"4|" ;select "current weather" map
w (-10,-1) "Select Protocol"
"6|" ;because it's the first download we must select a
;download protocol. We won't be asked on subsequent downloads
w c "computer :"
"curweath.gif|" ;enter name to give the file, must have .GIF extension
;if not using AUTOSIG you may need to use additonal commands to
;initiate downloading
g *Exist?* ;gosub *Exist* routine
"5|" ;select tommorrows weather
w c "computer :"
"tomweath.gif|" ;specify filename
g *Exist?*
"8|" ;select current temperatures
w c "computer :"
"curtemp.gif|"
g *Exist?*
end
;checks to see if "File already exists" message appears and if so tell
;CIS to overwrite the file, ELSE it waits until "more !" appears at cursor
*Exist?*
if (+0,0) <> "File already exists" then *Chk1*
"y|"
*Chk1*
if c <> "more !" then *Exist?*
return ;returns from subroutine